package com.rajaev.dtu.tractor.domain.entity;

import com.rajaev.dtu.tractor.infrastructure.base.enums.BatteryElectricState;
import com.rajaev.dtu.tractor.infrastructure.base.enums.BatteryElectricType;
import lombok.Data;

import java.util.Date;

@Data
public class BatteryElectricLog {

    private int id;

    private String vin;

    private BatteryElectricType type;

    private Date startTime;

    private Date endTime;

    private BatteryElectricState state;

    private Double electricity;

    public BatteryElectricLog() {
    }

    public BatteryElectricLog(String vin, BatteryElectricType type, Date startTime) {
        this.vin = vin;
        this.type = type;
        this.startTime = startTime;
    }


}
